All Questions
127 questions
0votes
1answer
97views
ASP NET - tinyMCE editor - Error 400 bad request
I am develeping web application where is in one form used tinyMCE editor. Users of the application uses this tinyMCE input field for saving screenshots and notes. That is fact and it cannot be easily ...
0votes
0answers
33views
Using Radio Buttons as Input for Boolean Model Property ASP.NET MVC
I would like to use radio buttons to indicate whether or not something is in need of repair on my form. I have already referenced this question and used the answer offered by Ben Cull, but I would ...
0votes
0answers
42views
Html form returns Model with null attribute ins asp.net core
I'm currently developing an html asp.net core web app that requires a huge form. This form is basically a large treeview with selectable items inside which are not hardcoded but retrieved form a .db ...
0votes
2answers
976views
Form submitting wrong value from float input in ASP.NET MVC
Today I stumbled across a problem with the number input in a hmtl Form. I'm trying to get an Input from the User in form of a float. For this case i use the Input tag as following (Sorry for the ...
0votes
1answer
642views
Is it possible to send multiple values from one select option in form?
If you select option 2 for example, I want to send both the value 2 (for the amount of books to be added) but also the Book_ID for the chosen book. So in my method that retrieves the form I expect to ...
0votes
1answer
312views
submit table (dataTables) with checkboxes in header and body to controller through form
I have a table with a checkbox in the header (selectAll) and checkboxes in each row. I want to pass the value of the rows checked to an ActionResult method in controller. The string array passed keeps ...
1vote
0answers
172views
How to let a button disappear after an action and reappear after another action
i have a code that can allow a button to be visible if some values have been saved to a database or in this case has been bookmarked and becomes visible in the front end if it has been deleted from ...
0votes
1answer
80views
Ajax.BeginForm in MVC is working only in IE
I have created a table in my Asp.Net MVC application using Razor. Each rows in this table are generating dynamically using a FOREACH loop. Each row contains a FORM with one text field and one button. ...
0votes
1answer
472views
How to retrieve input's value from a textbox
I'm learning to develop a webapp using .net and I'm having a problem in retrieving the value from an <input> Size: @using (Html.BeginForm("GetList", "User", FormMethod.Post))...
0votes
1answer
308views
Workaround for nested forms in .NET Core MVC
I'm looking a solution to achieving what ultimately will look like nested forms. I know nested forms do not work, but I have a requirement to build a view which, from a legal standpoint, must be ...
5votes
9answers
13kviews
Found a malformed 'form' tag helper. Tag helpers must have a start and end tag or be self closing
So i'm getting this error on my mvc project while working on my form. The error indicates that I haven't closed the form tag properly. However, as you'll see below, I have closed it properly. <form ...
0votes
3answers
270views
Removing Space Between two Columns In form with bootstrap
Good day guys, I have a form with code below using the ASP.NET MVC and the bootsrap. There are two columns and each column contains like 7 items. The space in between the two columns is too wide and ...
0votes
1answer
249views
Unable to get SelectList working in ASP.NET MVC
I am trying to get my SelectList working. I tried adding the options in the model class, but I'm unable to get that working with an error Member Testing.TaxIDType cannot be accessed with an ...
0votes
0answers
214views
form tag is not loading inside an iframe, its getting commented out inside iframe tag
For my application, i want to have a hidden iframe with a form inside, which has some input fields. The value to the fields will be added based on the response i get from backend and then submit the ...
0votes
1answer
2kviews
.NET MVC - Pressing Enter key in textbox not submitting form
I have a very simple form like below. @using (Html.BeginForm()) { ... @Html.TextBoxFor(x => x.Input); ... <button type="submit">Submit</button> } Pressing Enter key in ...